<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">

</head>
<body>
<div th:replace="common/top"></div>

<div id="Catalog">

  <table>
    <tr>
      <th><b>商品门类编号</b></th>
      <th><b>品名</b></th>
    </tr>
     <tr th:each="product:${session.productsBySearch}">

        <td><b><a th:href="@{viewProduct(productId=${product.productId})}" th:text="${product.productId}"></a></b></td>
        <td><b><a th:href="@{viewProduct(productId=${product.productId})}" th:text="${product.name}"></a></b></td>

      </tr>



  </table>

</div>

<br>
<br>
<div>  <b>你也许会喜欢:</b></div>
<div th:replace="common/recommend"></div>
</body>
</html>